home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Multimedia / Q-Z / VCR+(app+src).sit / Sources / interleave.c < prev    next >
MacBinary  |  1993-03-14  |  1.6 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Mar 14 23:20:06 1993, modified Sun Mar 14 23:20:06 1993, creator Think C, type ASCII, 970 bytes "interleave.c" , at 0x44a 510 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 69 6e 74 65 72 6c | 65 61 76 65 2e 63 00 00 |..interl|eave.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 03 ca 00 | 00 01 fe a7 c9 b4 76 a7 |........|......v.|
|00000060| c9 b4 76 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..v.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d8 93 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 56 43 52 70 6c 75 |#include| "VCRplu|
|00000090| 73 2e 68 22 0d 0d 76 6f | 69 64 09 69 6e 74 65 72 |s.h"..vo|id.inter|
|000000a0| 6c 65 61 76 65 28 6c 6f | 6e 67 09 74 62 6c 69 64 |leave(lo|ng.tblid|
|000000b0| 78 2c 20 6c 6f 6e 67 20 | 63 76 61 6c 20 2c 20 6c |x, long |cval , l|
|000000c0| 6f 6e 67 20 2a 74 38 63 | 35 2c 20 6c 6f 6e 67 20 |ong *t8c|5, long |
|000000d0| 2a 74 32 63 31 29 0d 7b | 0d 09 6c 6f 6e 67 20 09 |*t2c1).{|..long .|
|000000e0| 73 6d 61 6c 6c 2c 20 62 | 69 67 2c 20 62 3b 0d 0d |small, b|ig, b;..|
|000000f0| 09 73 6d 61 6c 6c 20 3d | 20 30 3b 0d 09 62 69 67 |.small =| 0;..big|
|00000100| 20 3d 20 30 3b 0d 0d 09 | 2f 2a 20 62 75 69 6c 64 | = 0;...|/* build|
|00000110| 20 74 32 63 31 20 2a 2f | 0d 09 62 20 3d 20 30 78 | t2c1 */|..b = 0x|
|00000120| 30 30 30 30 30 30 30 31 | 20 26 20 28 74 62 6c 69 |00000001| & (tbli|
|00000130| 64 78 20 3e 3e 20 32 29 | 20 3b 0d 09 73 6d 61 6c |dx >> 2)| ;..smal|
|00000140| 6c 20 2b 3d 20 28 62 20 | 3c 3c 20 34 29 3b 0d 0d |l += (b |<< 4);..|
|00000150| 09 62 20 3d 20 30 78 30 | 30 30 30 30 30 30 31 20 |.b = 0x0|0000001 |
|00000160| 26 20 28 74 62 6c 69 64 | 78 20 3e 3e 20 31 29 20 |& (tblid|x >> 1) |
|00000170| 3b 0d 09 73 6d 61 6c 6c | 20 2b 3d 20 28 62 20 3c |;..small| += (b <|
|00000180| 3c 20 32 29 3b 0d 0d 09 | 62 20 3d 20 30 78 30 30 |< 2);...|b = 0x00|
|00000190| 30 30 30 30 30 31 20 26 | 20 74 62 6c 69 64 78 20 |000001 &| tblidx |
|000001a0| 3b 0d 09 73 6d 61 6c 6c | 20 2b 3d 20 62 3b 0d 0d |;..small| += b;..|
|000001b0| 09 62 20 3d 20 30 78 30 | 30 30 30 30 30 30 31 20 |.b = 0x0|0000001 |
|000001c0| 26 20 28 63 76 61 6c 20 | 3e 3e 20 31 29 20 3b 0d |& (cval |>> 1) ;.|
|000001d0| 09 73 6d 61 6c 6c 20 2b | 3d 20 28 62 20 3c 3c 20 |.small +|= (b << |
|000001e0| 33 29 3b 0d 0d 09 62 20 | 3d 20 30 78 30 30 30 30 |3);...b |= 0x0000|
|000001f0| 30 30 30 31 20 26 20 63 | 76 61 6c 20 3b 0d 09 73 |0001 & c|val ;..s|
|00000200| 6d 61 6c 6c 20 2b 3d 20 | 28 62 20 3c 3c 20 31 29 |mall += |(b << 1)|
|00000210| 3b 0d 0d 0d 09 2f 2a 20 | 62 75 69 6c 64 20 74 38 |;..../* |build t8|
|00000220| 63 35 20 2a 2f 0d 09 62 | 20 3d 20 30 78 30 30 30 |c5 */..b| = 0x000|
|00000230| 30 30 30 30 31 20 26 20 | 28 74 62 6c 69 64 78 20 |00001 & |(tblidx |
|00000240| 3e 3e 20 38 29 20 3b 0d | 09 62 69 67 20 2b 3d 20 |>> 8) ;.|.big += |
|00000250| 28 62 20 3c 3c 20 39 29 | 3b 0d 0d 09 62 20 3d 20 |(b << 9)|;...b = |
|00000260| 30 78 30 30 30 30 30 30 | 30 31 20 26 20 28 74 62 |0x000000|01 & (tb|
|00000270| 6c 69 64 78 20 3e 3e 20 | 37 29 20 3b 0d 09 62 69 |lidx >> |7) ;..bi|
|00000280| 67 20 2b 3d 20 28 62 20 | 3c 3c 20 37 29 3b 0d 0d |g += (b |<< 7);..|
|00000290| 09 62 20 3d 20 30 78 30 | 30 30 30 30 30 30 31 20 |.b = 0x0|0000001 |
|000002a0| 26 20 28 74 62 6c 69 64 | 78 20 3e 3e 20 36 29 20 |& (tblid|x >> 6) |
|000002b0| 3b 0d 09 62 69 67 20 2b | 3d 20 28 62 20 3c 3c 20 |;..big +|= (b << |
|000002c0| 35 29 3b 0d 0d 09 62 20 | 3d 20 30 78 30 30 30 30 |5);...b |= 0x0000|
|000002d0| 30 30 30 31 20 26 20 28 | 74 62 6c 69 64 78 20 3e |0001 & (|tblidx >|
|000002e0| 3e 20 35 29 20 3b 0d 09 | 62 69 67 20 2b 3d 20 28 |> 5) ;..|big += (|
|000002f0| 62 20 3c 3c 20 34 29 3b | 0d 0d 09 62 20 3d 20 30 |b << 4);|...b = 0|
|00000300| 78 30 30 30 30 30 30 30 | 31 20 26 20 28 74 62 6c |x0000000|1 & (tbl|
|00000310| 69 64 78 20 3e 3e 20 34 | 29 20 3b 0d 09 62 69 67 |idx >> 4|) ;..big|
|00000320| 20 2b 3d 20 28 62 20 3c | 3c 20 33 29 3b 0d 0d 09 | += (b <|< 3);...|
|00000330| 62 20 3d 20 30 78 30 30 | 30 30 30 30 30 31 20 26 |b = 0x00|000001 &|
|00000340| 20 28 74 62 6c 69 64 78 | 20 3e 3e 20 33 29 20 3b | (tblidx| >> 3) ;|
|00000350| 0d 09 62 69 67 20 2b 3d | 20 62 3b 0d 0d 09 62 20 |..big +=| b;...b |
|00000360| 3d 20 30 78 30 30 30 30 | 30 30 30 31 20 26 20 28 |= 0x0000|0001 & (|
|00000370| 63 76 61 6c 20 3e 3e 20 | 35 29 20 3b 0d 09 62 69 |cval >> |5) ;..bi|
|00000380| 67 20 2b 3d 20 28 62 20 | 3c 3c 20 38 29 3b 0d 0d |g += (b |<< 8);..|
|00000390| 09 62 20 3d 20 30 78 30 | 30 30 30 30 30 30 31 20 |.b = 0x0|0000001 |
|000003a0| 26 20 28 63 76 61 6c 20 | 3e 3e 20 34 29 20 3b 0d |& (cval |>> 4) ;.|
|000003b0| 09 62 69 67 20 2b 3d 20 | 28 62 20 3c 3c 20 36 29 |.big += |(b << 6)|
|000003c0| 3b 0d 0d 09 62 20 3d 20 | 30 78 30 30 30 30 30 30 |;...b = |0x000000|
|000003d0| 30 31 20 26 20 28 63 76 | 61 6c 20 3e 3e 20 33 29 |01 & (cv|al >> 3)|
|000003e0| 20 3b 0d 09 62 69 67 20 | 2b 3d 20 28 62 20 3c 3c | ;..big |+= (b <<|
|000003f0| 20 32 29 3b 0d 0d 09 62 | 20 3d 20 30 78 30 30 30 | 2);...b| = 0x000|
|00000400| 30 30 30 30 31 20 26 20 | 28 63 76 61 6c 20 3e 3e |00001 & |(cval >>|
|00000410| 20 32 29 20 3b 0d 09 62 | 69 67 20 2b 3d 20 28 62 | 2) ;..b|ig += (b|
|00000420| 20 3c 3c 20 31 29 3b 0d | 0d 0d 09 2a 74 38 63 35 | << 1);.|...*t8c5|
|00000430| 20 3d 20 62 69 67 3b 0d | 09 2a 74 32 63 31 20 3d | = big;.|.*t2c1 =|
|00000440| 20 73 6d 61 6c 6c 3b 0d | 7d 0d 00 00 00 00 00 00 | small;.|}.......|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 a4 | 00 00 00 a4 00 00 00 5a |........|.......Z|
|00000490| 64 65 66 67 68 69 6a 6b | 6c 6d 6e 6f 70 71 72 73 |defghijk|lmnopqrs|
|000004a0| 74 75 76 77 78 79 7a 7b | 7c 7d 7e 7f 80 81 82 83 |tuvwxyz{||}~.....|
|000004b0| 0c 69 6e 74 65 72 6c 65 | 61 76 65 2e 63 47 02 00 |.interle|ave.cG..|
|000004c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000004d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a9 7e a4 27 00 00 | 00 00 00 00 01 fe d2 d3 |...~.'..|........|
|00000500| d4 d5 d6 d7 d8 d9 da db | dc dd de df e0 e1 00 00 |........|........|
|00000510| 00 00 0f 66 10 00 00 22 | 00 00 00 ff 0b ca 83 47 |...f..."|.......G|
|00000520| 10 00 12 ac 00 00 00 6c | 00 00 08 f4 00 00 08 86 |.......l|........|
|00000530| 00 00 00 77 00 00 00 00 | 01 00 01 55 81 55 01 55 |...w....|...U.U.U|
|00000540| 00 00 00 00 00 00 00 04 | 00 00 00 00 00 03 09 f1 |........|........|
|00000550| 00 00 00 00 00 06 00 03 | 00 00 fc 84 fc 88 0f d0 |........|........|
|00000560| 0f 8a 00 02 fc ec fc 84 | 10 12 0f 6c 00 01 fd 54 |........|...l...T|
|00000570| fc 50 0f ec 0f da 00 03 | fc c6 fc 62 12 a4 0f e2 |.P......|...b....|
|00000580| 00 00 00 04 00 06 00 04 | 00 00 00 0a 00 09 06 47 |........|.......G|
|00000590| 65 6e 65 76 61 42 00 00 | 00 8a 00 07 00 14 00 00 |enevaB..|........|
|000005a0| 00 70 00 06 00 de 89 e4 | 00 00 05 73 6d 61 6c 6c |.p......|...small|
|000005b0| 00 12 00 00 00 70 00 06 | 00 de 89 d4 00 00 03 62 |.....p..|.......b|
|000005c0| 69 67 00 10 00 00 00 70 | 00 06 00 de 89 c4 00 00 |ig.....p|........|
|000005d0| 01 62 00 16 00 00 00 70 | 00 06 00 de 89 b4 00 00 |.b.....p|........|
|000005e0| 07 74 62 6c 69 64 78 20 | 00 14 00 00 00 70 00 06 |.tblidx |.....p..|
|000005f0| 00 de 89 a4 00 00 05 63 | 76 61 6c 20 00 14 00 00 |.......c|val ....|
|00000600| 00 70 00 06 00 de 89 94 | 00 00 05 2a 74 38 63 35 |.p......|...*t8c5|
|00000610| 00 14 00 00 00 70 00 06 | 00 de 89 84 00 00 05 2a |.....p..|.......*|
|00000620| 74 32 63 31 00 00 01 00 | 00 00 01 a4 00 00 00 a4 |t2c1....|........|
|00000630| 00 00 00 5a 01 17 16 bc | 09 8e 00 00 00 1c 00 5a |...Z....|.......Z|
|00000640| 00 02 45 54 41 42 00 00 | 00 1a 45 46 4e 54 00 00 |..ETAB..|..EFNT..|
|00000650| 00 26 44 54 56 55 00 00 | 00 32 03 ec ff ff 00 00 |.&DTVU..|.2......|
|00000660| 00 00 00 00 00 00 03 eb | ff ff 00 00 00 08 00 00 |........|........|
|00000670| 00 00 04 51 ff ff 00 00 | 00 16 00 00 00 00 00 00 |...Q....|........|
+--------+-------------------------+-------------------------+--------+--------+